package demo14;

/**
 * Created by Administrator on 2017/6/20.
 */
class V{}
public class OverWriteEquals {
    public static void main(String[] args) {
        String s1="123";
        String s2="123";
        System.out.println(s1.equals(s2));
        V v1 =new V();
        V v2=new V();
        System.out.println(v1.equals(v2));
    }
}
